package cn.com.b2office.service;

import java.util.List;

import cn.com.b2office.domain.Article;
import cn.com.b2office.domain.ArticleCategory;

public interface ArticleService {

	Article getArticle(int articleId);

	/**
	 * 
	 * @param articleId
	 *            当前的ArticleId
	 * @return 当前的article下一篇Article
	 */
	Article getNextArticle(int curArticleId);

	List<Article> findArticle(int categoryId, int firstResult, int maxResults);

	List<Article> findArticle(int categoryId);

	void addArticleHits(int articleId, int hits);

	List<ArticleCategory> findCategory(List<Integer> categoryIdList);

}
